<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>
        学生信息管理系统模板 - 源码之家
    </title>
    <jsp:include page="../css.jsp"></jsp:include>
</head>
<body>

<jsp:include page="../banner.jsp"></jsp:include>
<div class="page">
    <div class="box mtop">
        <jsp:include page="common/left.jsp"></jsp:include>
        <div class="rightbox">

            <h2 class="mbx">
                我的学习中心&nbsp;&nbsp;&nbsp;&nbsp;</h2>

            <div class="dhbg">
                <div class="dh1" style="margin: 0 27px 15px 0;">
                    <div class="dhwz">
                        <p>
                            您共有 <span class="red">0</span>条通知信息 <span class="red">0 </span>条未读
                        </p>
                        <p>
                            共有 <span class="red">0 </span>条短信息、 <span class="red">0</span>个投诉、 <span class="red">
                        0 </span>个异议
                        </p>
                        <p>
                            有 <span class="red">0</span>个投诉、<span class="red">0
                    </span>个异议、<span class="red">0</span>条短信息未处理</p>
                        <div class="btright">
                            <a href="User/StudentInfor/Letter.aspx.html">
                                <img src="images/Student/default/bt_bzr.jpg" alt="给班主任发消息" width="121" height="25"/></a>
                        </div>
                    </div>
                </div>
                <div class="dh2">
                    <div class="dhwz">
                        <p>
                            你有 <span class="red">0</span> 门课程要考 <a href="EducationCenter/Application.aspx.html"
                                                                   class="red">查看报考计划</a></p>
                        <p>
                            你已经通过 <span class="red">0 </span>门课程&nbsp;共有 <span class="red">13</span> 门 <a
                                href="EducationCenter/Score.aspx.html" class="red">查看成绩</a>
                        </p>
                        <p>
                            已经发放了 <span class="red">0 </span>本书籍 <a href="EducationCenter/Book.aspx.html" class="red">查看书籍情况</a>
                        </p>
                        <div class="btright">
                            <a href="EducationCenter/Application.aspx.html">
                                <img src="images/Student/default/bt_jw.jpg" alt="进入教务中心" width="121" height="25"/></a>
                        </div>
                    </div>
                </div>
                <div class="dh3" style="margin: 0 27px 15px 0;">
                    <div class="dhwz">
                        <p>
                            <a href="http://sm.zk0731.com/User/ExamCenter/ExamPractice/ListExam.aspx?ptid=1">模拟考试</a>
                        </p>
                        <p>
                            <a href="http://sm.zk0731.com/User/ExamCenter/ExamPractice/ListExercise.aspx?ptid=3">章节练习</a>
                        </p>
                        <p>
                            <a href="http://sm.zk0731.com/User/ExamCenter/ExamPractice/ListExercise.aspx?ptid=2">网上作业</a>
                        </p>
                        <div class="btright">
                            <a href="http://sm.zk0731.com/User/ExamCenter/ExamPractice/ListExam.aspx?ptid=1">
                                <img src="images/Student/default/bt_ks.jpg" alt="进入考试中心" width="121" height="25"/></a>
                        </div>
                    </div>
                </div>
                <div class="dh4">
                    <div class="dhwz">
                        <p>
                            你应交<span class="blue">7800.00</span> 元，实缴 <span class="green">3700.00</span>元</p>
                        <p>
                            欠费 <span class="red">4100.00</span> 元</p>
                        <p>
                            你总共有<span class="red">3</span> 条财务记录需要确定</p>

                        <div class="btright">
                            <a href="MyAccount/wdcw.aspx.html">
                                <img src="images/Student/default/bt_cw.jpg" alt="进入财务中心" width="121" height="25"/></a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="xxlc">
                <strong class="lcbt">学历历程</strong>
            </div>
            <div class="lcbiao">
                <c:forEach items="${requestScope.dates}" var="d">
                    <div class="lctime">${d}</div>
                </c:forEach>
            </div>
            <div style="padding-left:50px;" id="study_log">
                <div style="margin-left:600px;width:100px">
                </div>

            </div>
            <jsp:include page="../common-footer.jsp"></jsp:include>
        </div>
        <div style="text-align:center;">
            <p>来源：<a href="http://www.mycodes.net/" target="_blank">源码之家</a></p>
        </div>
        <script type="text/javascript">
            $(function () {
                $(".lcbiao div").each(function (i, obj) {
                    $(obj).click(function () {
                        $(".lctime2").attr("class", "lctime");
                        $(obj).attr("class", "lctime2");
                        $.ajax({
                            url:'<%=request.getContextPath()%>/student/logs.html',
                            method:'post',
                            data:'day='+$(obj).text(),
                            success:function(json){
                                var str ='';
                                $.each(json,function(i,obj){
                                    //obj  json[i]
                                    var date=new Date(obj);
                                    var hour=date.getHours();
                                    if(hour<10){
                                        hour='0'+hour;
                                    }
                                    var min=date.getMinutes();
                                    if(min<10){
                                        min='0'+min
                                    }
                                   str+='<div align="center"><span>'+hour+":"+min+' 登陆系统</span></div>';
                                })
                                var div = $("<div></div>");
                                div.html(str);
                                div.css({"margin-left": i * 100 + "px", width: "100px"})
                                $("#study_log").html(div);
                            }
                        })
                    })
                })
                $(".lcbiao div:last").click()
            })
        </script>
</body>
</html>
